import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import data_list from './modules/data_list'
import data_submit from './modules/data_submit'
import article from './modules/article'
import hospital from './modules/hospital'
import category from './modules/category'
import home from './modules/home'
import wangqiunan from './modules/wangqiunan'
import wangqiunan2 from './modules/wangqiunan2'
import wuqingyu from './modules/wuqingyu'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    data_list,
    data_submit,
    article,
    hospital,
    category,
    home,
    wangqiunan,
    wangqiunan2,
    wuqingyu
  },
  getters
})

export default store
